(function () {
    'use strict';
    angular.module('module.blank').config(configure);
    configure.$inject = ['$stateProvider'];

    function configure($stateProvider) {
        $stateProvider
            .state('home.blank', {
                url: 'blank',
                views: {
                    'content@': {
                        templateUrl: 'app/module/blank/blank.view.html',
                        controller: 'BlankController',
                        controllerAs:'blank',
                        resolve: {
                            deps: lazyLoadBlank
                        }
                    }
                },
                data: {
                    pageTitle: 'Blank Page Template',
                    requiresLogin: false
                }
            });
    }

    lazyLoadBlank.$injector = ['$ocLazyLoad'];

    function lazyLoadBlank($ocLazyLoad) {
        return $ocLazyLoad.load({
            name: 'module.blank',
            insertBefore: '#ng_load_plugins_before',
            files: [
                'app/module/blank/blank.controller.js'
            ]
        });
    }
})();